#include "button.h"

Button::Button(QWidget *parent) : QPushButton(parent)
{

}

void Button::enterEvent(QEvent *event)
{
    (void)event;
    int x = rand() % (800 - 40);
    int y = rand() % (600 - 20);

    this->move(x, y);
}
